/*
@title: spriggymon
@description: Proudly inspired by the genre-defining ludonarrative experience, Pokemon, spriggymon is a fully-featured JRPG with ZERO bugs or confusing narratives.
@author: spriglover69
@tags: []
@addedOn: 2022-11-15

full source: https://github.com/spriglover69/spriggymon
*/

(()=>{var j2=Object.defineProperty,K2=Object.defineProperties;var U2=Object.getOwnPropertyDescriptors;var C2=Object.getOwnPropertySymbols;var Q2=Object.prototype.hasOwnProperty,V2=Object.prototype.propertyIsEnumerable;var h2=(L,t,e)=>t in L?j2(L,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):L[t]=e,H=(L,t)=>{for(var e in t||(t={}))Q2.call(t,e)&&h2(L,e,t[e]);if(C2)for(var e of C2(t))V2.call(t,e)&&h2(L,e,t[e]);return L},F=(L,t)=>K2(L,U2(t));var f2=`
.......00.......
.....0000000....
....0033333000..
....0333333330..
....03333000000.
....033307777770
....033307777770
....033307777700
...003333000000.
...033333333330.
...033333333330.
...033330333330.
..0033330333300.
..033330033330..
..000330.00330..
....0000..0000..
`,j=`
....0.0000.0....
....00000000....
....000000000...
...0020020000...
...00000000000..
...000220000000.
...020200200000.
...002222000000.
...000000000000.
...000000000000.
...000000000000.
...000000000000.
....00000000000.
....00..00...00.
....00..00...00.
....0...0....0..
`,w2=`
222222L00L222222
22222L0110L22222
2222001111002222
22L01L2222L10L22
2201111111110002
2200LLLLLLLL0202
2220L22LL22L0202
2220L202202L0202
2220L202202L0202
22L0LL2LL2LL0202
22022LL00LL20102
220221LLLL120L02
22L0011LL1100102
2222011111100202
22210LL00LL00002
2222222222222222
`,d2=`................
................
................
................
......00000.....
.....0011200....
.....0122220....
....001002000...
....012002200...
....01202220....
....01200000....
....012220......
....002220......
....002220......
....002220......
....002220......
`,b2=`
....C.CCCC.C....
....CCCCCCCC....
....CCCCCCCCC...
...CC0CC0CCCC...
...CCCCCCCCCCC..
...CCC00CCCCCCC.
...C0C0CC0CCCCC.
...CC0000CCCCCC.
...CCCCCCCCCCCC.
...CCCCCCCCCCCC.
...CCCCCCCCCCCC.
...CCCCCCCCCCCC.
....CCCCCCCCCCC.
....CC..CC...CC.
....CC..CC...CC.
....C...C....C..
`,X=`
.....333CCC.....
.....333CCC.....
.....333CCC.....
.....333CCC.....
.....333CCC.....
.....333CCC.....
.....333CCC.....
.....333CCC.....
..333333CCCCCC..
...33333CCCCC...
....3333CCCC....
.....333CCC.....
......33CC......
.......3C.......
................
................
`,y2=X.split(`
`).reverse().join(`
`);function J2(L){return L<=25?"3":L<=50?"9":"4"}function K(L,t){let e=Math.ceil(t*.16);return L.trim().split(`
`).map((c,u)=>(e>=Math.abs(u-16)?J2(t):"1")+c.trim().substring(1)).join(`
`)}var U=100;function _(L){U=L}var a={gameRunning:!1,you:{hp:100,strength:10},them:{hp:100,strength:10},showWinner:!1,consoleText:"",turn:"you",onGameEnd(){}},G="a",W="b";function P(){if(clearText(),a.showWinner){setLegend([G,a.you.sprite],[W,a.them.sprite]),setMap(map`
  .....
  ..${a.you.hp<=0?W:G}..
  .....
  .....`),addText(`${a.you.hp<=0?a.them.name:a.you.name} wins!`,{x:3,y:10});return}if(setLegend([G,K(a.you.sprite,a.you.hp)],[W,K(a.them.sprite,a.them.hp)],["c",X],["d",y2]),setMap(map`
    .....
    .${a.turn=="you"?"c":"."}.b.
    .a...
    .....`),a.turn=="you"){let L=["W to ATTACK"];a.you.attacks.weaken&&L.push("A to WEAKEN"),a.you.attacks.heal&&a.you.hp<=90&&L.push("S to HEAL"),L.forEach((t,e)=>{addText(t,{x:1,y:e+1})})}a.consoleText&&a.consoleText.split(`
`).forEach((L,t)=>{addText(L,{x:1,y:15-a.consoleText.split(`
`).length+t})})}async function L2(){let L=[];a.them.attacks.attack&&L.push(k2),a.them.attacks.weaken&&L.push(v2),a.them.attacks.heal&&a.them.hp<=90&&L.push(T2),L[Math.floor(Math.random()*L.length)]("them")}async function g2(L,{x:t,y:e},n){getFirst(L).x+=t||0,getFirst(L).y+=e||0,await new Promise(c=>setTimeout(c,n)),getFirst(L).x-=t||0,getFirst(L).y-=e||0}function X2(L){return 10+Math.abs(L-10)*5}async function k2(L){var u;let t=L=="you"?a.you:a.them,e=L=="you"?a.them:a.you;a.turn=void 0,a.consoleText=`${t.name} used
${t.attacks.attack}...`,P(),await new Promise(x=>setTimeout(x,1e3));let n=Math.random()<((u=t.accuracy)!=null?u:.6),c=X2(e.strength);if(n?(L=="you"?a.them.hp-=c:(a.you.hp-=c,U=a.you.hp),a.consoleText=`... and ${e.name}
lost ${c} HP`):a.consoleText="... but missed",P(),await g2(L=="you"?G:W,n?{x:L=="you"?1:-1}:{y:-1},200),a.you.hp<=0||a.them.hp<=0){setTimeout(()=>{a.showWinner=!0,P()},1e3),setTimeout(()=>{a.onGameEnd(a),a.gameRunning=!1},2e3);return}L=="you"?(a.turn="them",setTimeout(L2,2e3)):a.turn="you",P()}async function T2(L){let t=L=="you"?a.you:a.them;a.turn=void 0,a.consoleText=`${t.name} used
${t.attacks.heal}...`,P(),await new Promise(c=>setTimeout(c,1e3));let e=!0,n=10;e?(L=="you"?(a.you.hp+=n,U=a.you.hp):a.them.hp+=n,a.consoleText=`... and healed to
+${n} HP`):a.consoleText="... but missed",P(),L=="you"?(a.turn="them",setTimeout(L2,2e3)):a.turn="you",P()}async function v2(L){var c;let t=L=="you"?a.you:a.them,e=L=="you"?a.them:a.you;a.turn=void 0,a.consoleText=`${t.name} used
${t.attacks.weaken}...`,P(),await new Promise(u=>setTimeout(u,1e3));let n=Math.random()<((c=t.accuracy)!=null?c:.6);n?(L=="you"?a.them.strength-=2:a.you.strength-=2,a.consoleText=`... and ${e.name}
was WEAKENED`):a.consoleText="... but missed",P(),await g2(L=="you"?G:W,n?{x:L=="you"?1:-1}:{y:-1},200),L=="you"?(a.turn="them",setTimeout(L2,2e3)):a.turn="you",P()}onInput("w",async()=>{a.gameRunning&&a.turn=="you"&&k2("you")});onInput("a",async()=>{a.gameRunning&&a.you.attacks.weaken&&a.turn=="you"&&v2("you")});onInput("s",async()=>{a.gameRunning&&a.you.attacks.heal&&a.you.hp<=90&&a.turn=="you"&&T2("you")});function q(L,t){return new Promise(e=>{a={gameRunning:!0,you:H({hp:U,strength:10},L),them:H({hp:100,strength:10},t),showWinner:!1,consoleText:"",turn:"you",onGameEnd:e},P()})}var g={wasabi:{name:"Wasabi",sprite:j,attacks:{attack:"FACE LICK"},accuracy:0,strength:9},trigger:{name:"Trigger",sprite:b2,attacks:{attack:"FACE BITE",weaken:"SIT ON YOU"},strength:8,accuracy:.8},zachsGrandpa:{name:"Old Man",sprite:w2,attacks:{attack:"CANE",weaken:["OLD MAN SMELL","RACIAL EPITHET"][~~(.1+Math.random())]}},amogus:{name:"Amogus",sprite:f2,attacks:{attack:"VENT",weaken:"RED SUS",heal:"EMERGENCY MEETING"}},orpheus:{name:"Orpheus",sprite:d2,attacks:{attack:"LOOK BACK",weaken:"FOSSILIZE",heal:"CHIRP"}}};async function x2(){return await q(F(H({},g.orpheus),{attacks:{attack:g.orpheus.attacks.attack},accuracy:.8}),g.wasabi)}async function $2(){return await q(F(H({},g.orpheus),{attacks:{attack:g.orpheus.attacks.attack,weaken:g.orpheus.attacks.weaken},accuracy:.7}),g.zachsGrandpa)}async function P2(){return await q(F(H({},g.orpheus),{attacks:{attack:g.orpheus.attacks.attack,weaken:g.orpheus.attacks.weaken}}),g.amogus)}async function I2(L){return L?await q(g.orpheus,g.trigger):await q(F(H({},g.orpheus),{attacks:{attack:g.orpheus.attacks.attack,weaken:g.orpheus.attacks.weaken}}),g.trigger)}var i={switchOff:"\xCA",switch:"\xCB",max:":",caveEntrance:"-",chest:"\xC5",amogus:"\xD1",vent:"\xA2",desk:"?",ghost:"Z",staircase:"\xC2",sign:"\xC9",player:")",ladder:"\xA1",ironDoor:"j",woodenDoor:"b",kara:"B",oldMan:"2",trigger:"\xD2"},H2=!1,D=(()=>{let L=()=>{};return afterInput(t=>L()),t=>L=t})(),a2=map`
.....
.....
.....
.....`,C=class{constructor(t){this.arr=(t.trim()+`
`).split("").filter(e=>e!=" "),this.width=this.arr.indexOf(`
`),this.height=this.arr.length/this.stride}get stride(){return this.width+1}read(t,e){return this.arr[e*this.stride+t]}write(t,e,n){this.arr[e*this.stride+t]=n}*positionsOf(t){let e=-1;for(;;){if(e=this.arr.indexOf(t,e+1),e==-1)return;yield[e%this.stride,Math.floor(e/this.stride)]}}set(){setMap(this.arr.join(""))}push(){let t=0,e=0,n=[...this.arr],c=()=>n[0],u=()=>n.shift();do switch(c()){case" ":continue;case`
`:e++,t=0;break;case".":t++;break;case"\0":break;default:{if(t>=width()||e>=height())continue;addSprite(t,e,c()),t++}break}while(u())}},l,M2=()=>l={outside:[new C(map`
  $%$!$$$$$$$$
  $$$!$%%$$%$!
  $$$$$$!$$$$$
  $$$%$$!!$$$$
  $$"$$$$$$$%$
  !$"%%$$$$$$$
  !$$%$$9$$$$$
  $$$$&8I80$9$
    88881$$$(8I8`),new C(map`
  .©©.©©©...Í.
  ............
  .¾¾¾........
  .¾¾¶.¶¶¶....
  .¶¶¶.¶¶¶.¶¶¶
  .¶¶¶.¶.¶¶¶¶¶
  .¶.¶.....¶.¶
  ...É........
  ......¶.....`),new C(map`
  ............
  ............
  .*3;..£³....
  .+#<.[¤´..£³
  .+#<.^¥µ.[¤´
  .+#<.abq.^¥µ
  .,-=.....Qbq
  ............
  ............`)],hq:[new C(map`
.....
[dddl
]eeem
^fffn`),new C(map`
.iii.
.B...
.....
..¢..`),new C(map`
¡...b
.....
.....
.....`)],callRoom:[new C(map`
.....
[dddl
]eeem
^fffn`),new C(map`
.zi.i
...Å.
.....
..Z?.`),new C(map`
Â..b.
.....
.....
.....`)],closet:[new C(map`
.....
..[dl
..^fn
.....`),new C(map`
ÐÐa.q
ÐÐ...
ÐÐ2..
ÐÐÐÐÐ`),new C(map`
...b.
.....
.....
.....`)],bank:[new C(map`
...........
[dddddddddl
]PePePePePm
]ePePePePem
]PePePePePm
^fffffffffn`),new C(map`
aiziiriiziq
...........
...........
...........
...........
...........`),new C(map`
...........
...........
...........
..........Ë
...........
...........`)]};M2();var[t2]=[...l.outside[2].positionsOf(i.caveEntrance)],[O2,_2]=[...l.outside[2].positionsOf(i.woodenDoor)],[S]=[...l.hq[2].positionsOf(i.woodenDoor)],[e2]=[...l.hq[2].positionsOf(i.ladder)],[n2]=[...l.callRoom[2].positionsOf(i.staircase)],[i2]=[...l.callRoom[2].positionsOf(i.woodenDoor)],[A2]=[...l.closet[2].positionsOf(i.woodenDoor)],R2=[{active:1,pos:{outside:_2,hq:S}},{active:1,pos:{callRoom:n2,hq:e2}},{active:0,pos:{callRoom:i2,closet:A2}}],L1=(L,t=I)=>R2.find(e=>L+""==""+e.pos[t]),[t1]=[...l.callRoom[1].positionsOf(i.desk)],[x1]=[...l.callRoom[1].positionsOf(i.chest)],[B]=[...l.hq[1].positionsOf(i.vent)],[V]=[...l.outside[1].positionsOf(i.sign)],q2=[V[0]-3,V[1]],[z]=[...l.bank[2].positionsOf(i.switch)];l.hq[1].write(...B,".");var k=L=>[L[0],L[1]+1],J=L=>[L[0],L[1]-1],o2,B2=()=>o2={outside:[{active:1,pos:t2,fn:p2},{active:0,pos:t2,fn:N},{active:1,pos:O2,fn:u2},{active:0,pos:O2,fn:D2},{active:0,pos:k(V),fn:G2},{active:0,pos:q2,fn:r2}],hq:[{active:1,pos:k(S),fn:l2},{active:0,pos:k(S),fn:W2},{active:0,pos:k(S),fn:F2},{active:1,pos:k(e2),fn:z2},{active:0,pos:k(e2),fn:N2},{active:0,pos:J(B),fn:Z2},{active:0,pos:k(S),fn:c2}],callRoom:[{active:1,pos:k(n2),fn:s1},{active:1,pos:J(t1),fn:o1},{active:1,pos:i2,fn:r1}],closet:[{active:1,pos:k(k(A2)),fn:c1}],bank:[{active:1,pos:z,fn:a1}]};B2();var d=L=>Object.values(o2).flat().find(t=>t.fn==L),Q={[i.switchOff]:2,[i.switch]:2,[i.max]:1,[i.player]:1,[i.vent]:1,[i.amogus]:2,[i.kara]:{hq:1,callRoom:1,outside:2},[i.trigger]:2},e1=[["!",bitmap`2222222221222222
2222222222222222
2222222222222222
2222122222222222
2222112222212122
2222212222221222
2222222222222222
2121222222222222
2212222222222222
2222222222222222
2222222122222222
2222221122222222
2221221222221212
2221122222222122
2222122222222222
2222222212122222`],['"',bitmap`2222222221222222
2121222222222221
2212222222212211
2222222222211212
2222222222221222
2222222222222222
2222222121222222
2222222212222222
2222222222222222
2222222222221212
2222221222222122
2212211222222222
2211212222222222
2221222222222222
2222222222222222
2222222212122222`],["#",bitmap`2222222221222222
2222222222222222
2222222222222222
2212122222222222
2221222222222222
2222222222121222
2222222222212222
2222221212222222
2222222122222222
2222222222222122
2222212222221122
2122112222221222
2112122222222222
2212222222222222
2222222222222222
2222222212122222`],["$",bitmap`2222222221222222
2222222222222222
2222222222222222
2222222222221212
2121222222222122
2212222222222222
2222222222222222
2222222212222222
2222222211221222
2222222221211222
2222222222212222
2222222222222222
2221212222222222
2222122222222222
2222222222222222
2222222212122222`],["%",bitmap`2222222221222222
2222222222222222
2222222221121122
2222222221L1L122
2121222222121222
2212222221L1L122
2222222221121122
2222222222222222
2222222222222222
2211211222222222
221L1L1222222222
2221212222221212
221L1L1222222122
2211211222222222
2222222222222222
2222222212122222`],["&",bitmap`2222222222222222
2222222222111122
2222221111111111
2222111211111111
2221111111111111
2221121111111111
2211111111111111
2211111111111111
2211111111111111
2211111111111111
2111111111111111
2111111111111111
2121111111111121
2111111111122111
2211111111122122
2211111111111122`],["(",bitmap`2211111111111122
2211111111122122
2111111111122111
2111111111111121
2111111111111111
2111111111111111
2211111111111111
2212111111111111
2211111111111111
2211221111111111
2221221111111111
2221111111111111
2222111211111111
2222221111111111
2222222222111122
2222222222222222`],[")",bitmap`2222222222222222
2222222222222222
2222L000000L2222
222L0LLLLLL0L222
2220LLLLLLLL0L22
2220L12LL2102022
2220L22222202022
2220220220202022
2220L20220202022
2L000L2222102022
2012101111L010L2
2022201111022202
202220LLLL00L002
201210L00LL00022
2200011001101222
2222222222222222`],["*",bitmap`2222L00000000000
22L0011111111111
2L01122222111122
2012222222222222
L012222222221222
0122222222222222
0122222121222222
0122222212222222
0122222222222222
0122222222221212
0112221222222122
0112211222222222
0112212222222222
0112222222222222
0122222222222222
0122222212122222`],["+",bitmap`0122222221222222
0122222222222222
0112212122222222
0112221222222222
0112222222221222
0112222222211222
0122222212212222
0122222211222222
0122222221222222
0122222222222222
0112222222212122
0112222222221222
0112122222222222
0112222222222222
0122222222222222
0122222212122222`],[",",bitmap`0122222221222222
0122222222222221
01L2222222212211
011LL22222222222
01111LLL22LLLL22
01211111LL1111LL
0122221111222211
0112222222222222
0121112222111122
0122221111222211
0122222222222222
L012222222222222
2011112222111122
2L01111111111111
22L00LL111LLLL11
2222L00000000000`],["-",bitmap`2222222222222222
2222222222221222
2222222222222222
2222222222222222
22LLLL2222LLLL22
LL1111LLLL1111LL
1122221111222211
2222220000222222
2211100000011122
1122000000002211
2222000000002222
2220000000000222
2210000000000122
11100LLLLLL00111
11L0LLLLLLLL0L11
0000LLLLLLLL0000`],["/",bitmap`2222222222222222
2222222222221222
2222222222222222
2222222222222222
22LLLL2222LLLL22
LL1111LLLL1111LL
1122221111222211
2222220000222222
2211101221011122
1122012222102211
2222021111202222
2220121111210222
2210211LL1120122
1110211LL1120111
11L0211111120L11
0000222222220000`],["0",bitmap`2222222222222222
2211112222222222
1111111111222222
1111111121112222
1111111111111222
1111111111221222
1111111111221122
1111111111111122
1111111111112122
1111111111111122
1111111111111112
1111111111111112
1211111111111112
1112111111111112
2211111111111122
2211111111111122`],["1",bitmap`2211111111111122
2211211111111122
1111111111111112
1221111111111112
1221111111111112
1111111111111112
1111111111111122
1111111111112122
1111111111111122
1111111112211122
1111111112211222
1111111111111222
1111111121112222
1111111111222222
2211112222222222
2222222222222222`],["2",bitmap`222222L00L222222
22222L0110L22222
2222001111002222
22L01L2222L10L22
2201111111110002
2200LLLLLLLL0202
2220L22LL22L0202
2220L202202L0202
2220L202202L0202
22L0LL2LL2LL0202
22022LL00LL20102
220221LLLL120L02
22L0011LL1100102
2222011111100202
22210LL00LL00002
2222222222222222`],["3",bitmap`0000000000000000
1111111111111111
2211112222111122
2222222222222222
2222112222212122
2222212222221222
2222222222222222
2121222222222222
2212222222222222
2222222222222222
2222222122222222
2222221122222222
2221221222221212
2221122222222122
2222122222222222
2222222212122222`],["4",bitmap`2222222221222222
2222222222222222
2222222222222222
2212122222222222
2221222222222222
2222222222121222
2222222222212222
2222221212222222
2222222122222222
2222222222222122
2222212222221122
2122112222221222
2112122222222222
2212222222222222
2222222222222222
2222222212122222`],["5",bitmap`2222222221222222
2222222222222222
2222222222222222
2222222222222222
22LLLL2222LLLL22
LL1111LLLL1111LL
1122221111222211
2222222222222222
2211112222111122
1122221111222211
2222222222222222
2222222222222222
2211112222111122
1111111111111111
11LLLL1111LLLL11
0000000000000000`],["6",bitmap`2222222222222222
2222121222222222
2222212222222222
2222222222222222
22LL22222222LL22
LL1L22222222L1LL
112L11111111L211
222LL111111LL222
221L22222222L122
112L22222222L211
222L11111111L222
222LL111111LL222
221L22222222L122
111L22222222L111
11LL11111111LL11
0000L111111L0000`],["7",bitmap`2222222222222222
2222222222212122
2222222222221222
2222222222222222
22LL22222222LL22
LL1L21212222L1LL
112L22122222L211
222L22222222L222
221L22222222L122
112L22222222L211
222L22222222L222
222L22222222L222
221L22222222L122
111L22221212L111
11L0222221220L11
0002222222222000`],["8",bitmap`2222222222222222
2211112222111122
1111111111111111
1211111122112111
1111111122111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1112211111111111
1212212111111121
1111111111111111
2211112222111122
2222222222222222`],["9",bitmap`2211111111111122
2211111111112122
2111111111111112
2112111111111112
2111111111111112
2111111111111112
2212211111111122
2212211111111122
2211111111111122
2211111111111122
2111111111111112
2111111111111112
2111111111111212
2111111111111112
2212111111111122
2211111111111122`],[":",bitmap`2222222222222222
2222220000222222
2222L00LL00L2222
222L0LLLLLL0L222
2220LLLLLLLL0222
2220L1LLLL1L0222
2220L222222L0222
2220220220220222
2220020220200222
22L0L12LL21L0L22
220221L22L122022
2202211111122022
22L0011111100L22
22220LL00LL02222
2221011001101222
2222222222222222`],[";",bitmap`00000000000L2222
1111111111100L22
22111122222110L2
2222222222222102
222222222222210L
2222222222222210
2222222121222210
2222222212222210
2222222222222210
2222222222222210
2222221222222110
2212211222222110
2211212222222110
2221222222222110
2222222222222210
2222222212122210`],["<",bitmap`2222222221222210
2222222222222210
2222212122222110
2222221222222110
2222222222222110
2212222222212110
2211222212212210
2221222211222210
2222222221222210
2222222222222210
2222222222212110
2222222222222110
2212122222222110
2221222222222110
2222222222222210
2222222212122210`],["=",bitmap`2222222221222210
2121222222222210
2212222222222L10
22222222222LL110
22LLLL22LLL11110
LL1111LL11111210
1122221111222210
2222222222222110
2211112222111210
1122221111222210
2222222222222210
222222222222210L
2211112222111102
11111111111110L2
11LLLL111LL00L22
00000000000L2222`],[">",bitmap`2222222222222222
2222222222222212
2220002222000222
2220202222020222
22L0100000010L22
LL101L1111L101LL
1120100000010211
2220102222010222
2210100000010122
11201L1111L10211
2220100000010222
2220102222010222
2210100000010122
11101L1111L10111
11L0100000010L11
0000001111000000`],["?",bitmap`2202222222222022
2102222222222012
2012222222222102
2000000000000002
2222222222222222
2LLLLLLLLLLLLLL2
2111111111111112
2111111111111112
2111111111111112
2111111111111112
2111111111111112
2222222222222222
2000000000000002
2012222222222102
21022212L2122012
2202222222222022`],["@",bitmap`2211111111111122
2211111111111112
2111111111111111
2112111111111111
2111111111111111
2111111111111111
2212211111111111
2212211111111111
2211111111111111
2211111111111111
2111111111111111
2111111111111111
2111111111111111
2111111111111111
2212111111112112
2211111111111122`],["A",bitmap`2211111111111122
2112111111112122
1111111111111112
1111111111111112
1111111111111112
1111111111111112
1111111111111122
1111111111111122
1111111111122122
1111111111122122
1111111111111112
1111111111111112
1111111111112112
1111111111111112
2112111111111122
2211111111111122`],["B",bitmap`2222222222222222
2222222222222222
2222L000000L2222
222L01L1LLL0L222
2220LL2LLLLL0222
2220L1L1L21L0222
2220LLLL122L0222
2220LL01202L0222
2220L102202L0222
22L0L122221L0L22
2202211111122022
22022LL11LL22022
22L00L1111L00L22
22220LLLLLL02222
2221011001101222
2222222222222222`],["C",bitmap`2222222222222222
2222222221000012
2222210000111100
2221001111111111
2210111111222211
2201112222222222
2201222222222222
220222222212L212
2202222222222222
2102222222222222
2012212122222222
2012222222222222
2012222222222222
2012222212L21222
2102212222222222
2202222222222222`],["D",bitmap`2202222222222222
2102222222222222
2012222222222222
20122222212L2122
2012222222222222
2012222222222222
2102121222222222
2202222222222222
2202222222222222
2102222122222222
2012222222222222
2012222222222222
2012222222222222
2012222222222222
21022212L2122222
2202222222222222`],["E",bitmap`2202222222222222
2102222222222222
2012221222222222
2012222222212122
2012222222222222
2012222222222222
2012222222222222
2012212L21222222
2012222222222222
2102222222222222
2202222222121222
2210222222222222
2221002222222222
2222210000222200
2222222221000012
2222222222222222`],["F",bitmap`2202222222222022
2102222222222012
2012222222222102
2012222221222102
2012222222222102
2012222222222102
2102121222222012
2202222222222022
2202222222222022
2102222122222012
2012222222222102
2012222222222102
2012222222222102
2012222222222102
21022212L2122012
2202222222222022`],["G",bitmap`2222222222222222
2100001221000012
0011110000111100
1111111111111111
1122221111222211
2221222222222222
2222222222222222
22222222212L2122
2222222222222222
2222212122222222
2222222222222222
2222222222222222
2222222222222222
0022220000222200
2100001221000012
2222222222222222`],["H",bitmap`2222222222222222
2211112222111122
1111111111111111
1112112211111121
1111112211111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1211111111111121
1111111111111111
2111111111111112
2211111111111122`],["I",bitmap`2211111111111122
2111111111111112
1111111111111111
1211111111111121
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111112211111111
1112112211111121
1111111111111111
2211112222111122
2222222222222222`],["J",bitmap`2222222222222222
2222222222222222
2222222222222222
2222200000022222
222201LLLL102222
22201LLLLLL10222
22L0LLLLLLLL0L22
2L01LLLLLLLL10L2
2020L122221L0202
2020120220210202
2020022112200202
2L021000000120L2
2202120220212022
22L000L22L000L22
2222222222222222
2222222222222222`],["K",bitmap`2222222222222222
2100001221000012
0011110000111100
1111111111111111
1122221111222211
2221222222222222
2222222222222222
22222222212L2122
2222222222222222
2222212122222222
2222222222222222
2222222222222222
2212222222222222
2222222222222222
22222212L2122222
2222222222222222`],["L",bitmap`2222222222222222
2222222222222222
2221212222222222
2222222222222122
2222222222222222
2222222222222222
2222222222222222
22222212L2122222
2222222222222222
2222222222212122
2222222222222222
2212122222222222
2222222222222222
2222222222222222
2222222212222222
2222222222222222`],["M",bitmap`2222222222222222
2222222222222222
222222222212L212
2222222222222222
2222222222222222
2212L21222222222
2222222222222222
2222222222222222
2222222212122222
2222222222222222
2221222222222222
2222222222222222
2222222222222222
0022220000222200
2100001221000012
2222222222222222`],["N",bitmap`2222222222222222
2222222221000012
2222210000111100
2221001111111111
2210111111222211
2201112222222222
2201222222222222
220222222212L212
2202222222222222
2102222222222222
2012212122222222
2012222222222222
2012222222222222
2012222222222200
2102212222222012
2202222222222022`],["O",bitmap`2202222222222022
2102222222222012
2012221222222100
2012222222212111
2012222222222211
2012222222222222
2012222222222222
2012212L21222222
2012222222222222
2102222222222222
2202222222121222
2210222222222222
2221002222222222
2222210000222200
2222222221000012
2222222222222222`],["P",bitmap`2211111111111122
2112111111112112
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
2111111111112112
2211111111111122`],["Q",bitmap`0122222222222222
0112222222222222
011222L0000L2222
0122220111102222
0122220122102222
0112220122102112
0112220111102222
0122220122101122
0122220122102222
0112220111102222
011222L0000L2222
0122222222222222
0122222222222222
0111111111111111
0111111111111111
L000000000000000`],["R",bitmap`2222222222222222
2222222222222222
2222L000000L2222
222L01222210L222
22201222212L0L22
2220222222202022
22202L0110L02022
2220220220202022
2220L22222202022
22L00L1221L02022
220222LLLLL010L2
2201L12112022202
220202122100L002
22L0010000100022
2221020110201222
2222222222222222`],["S",bitmap`2222222222222222
2100001222222222
0011110000122222
1111111111001222
1122221111110122
2222222222111022
2222222222221022
212L212222222022
2222222222222022
2222222222222012
2222222212122102
2222222222222102
2222222222222102
22212L2122222102
2222222222122012
2222222222222022`],["T",bitmap`2222222222222022
2222222222122012
2222222222222102
2222222222222102
2212L21222222102
2222222222222102
2222222222222012
2222222212122022
2222222222222022
2222222222222012
2222222222222102
2222222222222102
2212122222222102
2222222222222102
2222222122222012
2222222222222022`],["U",bitmap`2222222222222022
2222222222222012
2222222212122102
2222222222222102
2222222222222102
2222212L21222102
2222222222222102
2222222222222102
2212222222222102
2222222222222012
2222222222222022
2222121222220122
2222222222001222
0022220000122222
2100001222222222
2222222222222222`],["V",bitmap`2222222222222222
2100001222222222
0011110000122222
1111111111001222
1122221111110122
2222222222111022
2222222222221022
2222212122222022
2222222222222022
2222222222222012
2222222222222102
2212L21222222102
2222222222222102
0022222222222102
2102222222122012
2202222222222022`],["W",bitmap`2202222222222022
2102222222222012
0012222222222102
111212L212222102
1122222222222102
2222222222222102
2222222222222102
2222222212122102
2212222222222102
2222222222222012
2222212122222022
2222222222220122
2222222222001222
0022220000122222
2100001222222222
2222222222222222`],["X",bitmap`2222222222222222
2222111111112222
2211121211111122
2211112111111122
211111111L1L1112
2111111111L11112
2112111111111212
2111121111111112
2111111111111112
2111111111212112
211L1L1111121112
2111L11111111112
221111L1L1111122
2211111L11111122
2222111111112222
2222222222222222`],["Y",bitmap`2222222222222210
2222222222222110
2222L0000L222110
2222011110222210
2211012210222210
2211012210222110
2222011110222110
2112012210222210
2222012210222210
2222011110222110
2222L0000L222110
2112222222222210
2222222222222210
1111111111111110
1111111111111110
000000000000000L`],["Z",j],["[",bitmap`L000000000000000
0222222222222222
0222222222222222
022LLLLLLLLLLLLL
022LLLLLLLLLLLLL
022L111111111111
022L111111211111
022L1L1221111111
022L111221111111
022L111111111111
022L111111111111
022L111111111111
022L111111111211
022L111111LL1111
022L111111LL1111
022L111111111111`],["]",bitmap`022L111111111111
022L111111111111
022L111111111111
022L111111122111
022L111111122111
022L111111111111
022L111111111111
022L111111111111
022L111L11111111
022L111111111111
022L1LL111111111
022L1LL122111111
022L111122111111
022L111111111111
022L111111111111
022L111111111111`],["^",bitmap`022L111111111111
022L111111111111
022L111111111111
022L112211111111
022L112212111111
022L111111111111
022L111111LL1111
022L1111L1LL1111
022L111111111111
022L11111111L111
022L111111111111
022L111111111111
022L111111111111
0222222222222222
0222222222222222
L000000000000000`],["_",bitmap`022L11111111L220
022L11111111L220
022L11111111L220
022L11111111L220
022L11111111L220
022L11111111L220
022L11111111L220
022L11111111L220
022L11111111L220
022L11111111L220
022L11111111L220
022L11111111L220
022L11111111L220
022L11111111L220
022L11111111L220
022L11111111L220`],["`",bitmap`0000000000000000
2222222222222222
2222222222222222
LLLLLLLLLLLLLLLL
LLLLLLLLLLLLLLLL
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
2222222222222222
2222222222222222
0000000000000000`],["a",bitmap`0122222222222222
0112222222222222
0112222111222222
0122222111222222
0122222222222222
0112211121122222
0112211122222222
0122222222222222
0122222222222222
0112222222222222
0112222222222222
0122222222112222
0122222222222222
0111111111111111
0111111111111111
L000000000000000`],["b",bitmap`2222222222222222
2112222222222222
2222222222222222
2222000000002222
2220222222220222
2202211111122022
2202122222212022
2202122222212022
2202122222212022
22021111111L2012
220222222LL12022
22021111111L2022
2202122222212022
1102111111112011
1102222222222011
0000000000000000`],["c",bitmap`2222222222222222
222222L00L222222
2222220210222222
2222220220222222
2222220210222222
2222220220222222
2222220210222222
2222220220222222
2222220210222222
2222L002200L2222
2222021221202222
2222000LL0002222
2222220LL0222222
2222220220222222
222222L00L222222
2222222222222222`],["d",bitmap`0000000000000000
2222222222222222
2222222222222222
LLLLLLLLLLLLLLLL
LLLLLLLLLLLLLLLL
1111111111111111
1111112211111111
1111212211111111
11111111111LL111
11111111111LL111
11111111111111L1
11111111111L1111
1111111111111111
1111111111111111
1111111111111111
1111111111111111`],["e",bitmap`1111111111111111
11111LL111111111
11LL1LL121111111
11LL111111111111
1111122111111111
1L11122111111111
1111111111111111
1111111111111LL1
1111111111111LL1
1111111111111111
111111111111LL11
112211111111LL11
1122121111111111
11111111111111L1
1111111111111111
1111111111111111`],["f",bitmap`1111111111111111
1111111111111221
11L1111111111221
1111111111111111
1111111111111111
11111111LL111121
11111111LL111111
1111LL1111111111
1111LL1221111111
1111111221111111
1111211111111111
1111111111111111
1111111111111111
2222222222222222
2222222222222222
0000000000000000`],["g",bitmap`L000000000000000
0222222222222222
0222222222222222
022LLLLLLLLLLLLL
022LLLLLLLLLLLLL
022L111111111111
022L111111111111
022L111111111111
022L111111111111
022L111111111111
022L111111111111
022L111111111111
022L111111111111
022L111111111222
022L111111111222
022L11111111L220`],["h",bitmap`022L11111111L220
022L11111111L222
022L11111111L222
022L11111111LLLL
022L11111111LLLL
022L111111111111
022L111111111111
022L111111111111
022L111111111111
022L111111111111
022L111111111111
022L111111111111
022L111111111111
0222222222222222
0222222222222222
L000000000000000`],["i",bitmap`2222222222222222
2222112222222222
2222222222222222
2211222222222222
2222222222222222
2222222211122222
2222222211121122
2222222222222222
2222221122111222
2222222222111222
2222222222222222
2222112222222222
2222222222222222
1111111111111111
1111111111111111
0000000000000000`],["j",bitmap`2222222222222222
2222222222112222
2222222222222222
2220000000000222
2202222222222022
2202L111111L2022
2202111111112022
2102111111112022
2202111111112022
2202112222112022
2202222002222012
2202112222112022
2202111111112022
1102L111111L2011
1102222222222011
0000000000000000`],["k",bitmap`2222222222222222
2222222222222222
2222222222222222
2221000220001222
2210122002210122
2201222222221022
2202222222222022
2202222222222022
2220222222220222
2222022222202222
2222202222022222
2222220220222222
2222222002222222
2222222222222222
2222222222222222
2222222222222222`],["l",bitmap`000000000000000L
2222222222222220
2222222222222220
LLLLLLLLLLLLL220
LLLLLLLLLLLLL220
111111111111L220
111111111111L220
111111111111L220
111L11111111L220
111111111111L220
1111LL111111L220
1111LL1LL111L220
1111111LL111L220
122121111111L220
122111111111L220
111111111111L220`],["m",bitmap`111111111111L220
111111111111L220
111112211111L220
111212211111L220
1111111111L1L220
111111111111L220
111111L1LL11L220
11111111LL11L220
111111111111L220
111111111111L220
111111111L11L220
111111111111L220
111111111111L220
111111111111L220
111111111111L220
111111111111L220`],["n",bitmap`111111111111L220
11111L111111L220
111111111111L220
111111111111L220
111111111111L220
111111111111L220
111111111111L220
11LL11121111L220
11LL11111221L220
111111221221L220
1L1111221111L220
111111111111L220
111111111111L220
2222222222222220
2222222222222220
000000000000000L`],["o",bitmap`000000000000000L
2222222222222220
2222222222222220
LLLLLLLLLLLLL220
LLLLLLLLLLLLL220
111111111111L220
111111111111L220
111111111111L220
111111111111L220
111111111111L220
111111111111L220
111111111111L220
111111111111L220
222111111111L220
222111111111L220
022L11111111L220`],["p",bitmap`022L11111111L220
222L11111111L220
222L11111111L220
LLLL11111111L220
LLLL11111111L220
111111111111L220
111111111111L220
111111111111L220
111111111111L220
111111111111L220
111111111111L220
111111111111L220
111111111111L220
2222222222222220
2222222222222220
000000000000000L`],["q",bitmap`2222222222222210
2222222222222110
2222222222222110
2222211211222210
2222222222222210
2222222211122110
2222222211122110
2222222222222210
2222221122222210
2222222222222110
2221112222222110
2221112222222210
2222222222222210
1111111111111110
1111111111111110
000000000000000L`],["r",bitmap`2222222222222222
2222211222222222
2222222222222222
2111L000000L1112
2111011111101112
2112012222102112
2111012222101112
2111011111101112
2111012222101112
2112012222102112
2111011111101112
2111L000000L1112
2222222222222222
1111111111111111
1111111111111111
0000000000000000`],["s",bitmap`2222222222222222
2222222222222222
2222222222222222
2221000220001222
2210222002210122
2202111222221022
2202111122222022
2202L11122222022
22202LLL22220222
222202LL22202222
2222202L22022222
2222220220222222
2222222002222222
2222222222222222
2222222222222222
2222222222222222`],["t",bitmap`2222222222222222
2222222222222200
22222222222200L2
221212222220L222
22212222220L2222
2222222222022222
2222222220L22222
2222222220112222
2222222220111122
2222220000L11111
222200L22L001111
2220L222222L0111
220L22222222L00L
2102222222222002
20L2222222222L00
2011222222221102`],["u",bitmap`2222222222222222
2222222222222200
22222222222200L2
221212222220L222
22212222220L2222
2222222222022222
2222222220L22222
2222222220112222
2222222220111122
2222222220L11111
2222222222011111
22221212220L1111
222221222220000L
2122222222222202
22222222221111L0
2222222222222222`],["v",bitmap`2011112222111102
20L1111111111L00
22011111111100L2
220L11111110L222
2220000LL00L2222
2222220220022222
221111L000L22222
2222222220112222
2222222220111122
2222221220L11111
2222211222011111
22122122220L1111
221122222220000L
2221222222222202
22222222221111L0
2222222222222222`],["w",bitmap`02111111LLLLLL10
02111121LLLLLL10
02111221LLLLLL10
02111211LLLLLL10
02111111LLL1LL10
02111111LLL11L10
02111111L1LL1L10
02111111L11LLL10
02111111LL11LL10
02112111LLL1LL10
02122111LLLLLL10
02121111LLLLLL10
02111111LLLLLL10
02111111LLL1LL10
02111111LLL11L10
02111111LLLL1L10`],["x",bitmap`02111111LLLLLL10
02111211LLLLLL10
02112211LLLLLL10
02122111LLLLLL10
02121111LLLLLL10
02111111LLLLLL10
02112111LL1LLL10
02122111LL11LL10
021211111LL1LL10
0211111LL1LLLL10
021111LLLL1LLL10
02111LL00LL1LL10
0211LL0220LL1L10
021LL022220LL110
02LL02222220LL10
0000222222220000`],["y",bitmap`0122222222222210
0112222111222110
0112222111222110
0122222222222210
0122221121112210
0112222221112110
0112222222222110
0122222222222210
0122222222222210
0112211222222110
0112222222222110
0122112222222210
0122222222222210
0111111111111110
0111111111111110
L00000000000000L`],["z",bitmap`2222222222222222
2222222222221122
2222222222222222
2222L000000L2222
2222011111102222
2222012222102222
1122012222102222
2222011111102222
2112012222102222
2222012222102222
2222011111102112
2222L000000L2222
2222222222222222
1111111111111111
1111111111111111
0000000000000000`],["{",bitmap`2222222222222222
2222222222222222
2222222222222222
2221000220001222
2210222002220122
2202111221112022
2202111111112022
2202L111111L2022
22202LLLLLL20222
222202LLLL202222
2222202LL2022222
2222220220222222
2222222002222222
2222222222222222
2222222222222222
2222222222222222`],["|",bitmap`2222222222222222
2222222222222222
2222221212222222
2222222122222222
2121222222222222
2212222222222222
2222222222222222
2222222222221212
2222222222222122
2222220000222222
222200L22L002222
2220L222222L0222
220L22222222L022
2202222222222022
20L2222222222L02
2011222222221102`],["}",bitmap`2011112222111102
00L1111111111L00
2L001111111100L2
222L01111110L222
2222L00LL00L2222
2222200220022222
22222L0000L22222
2222110110112222
2211110110111122
11111L0000L11111
111100L22L001111
1110L222222L0111
L00L22222222L00L
2002222222222002
00L2222222222L00
2011222222221102`],["~",bitmap`2011112222111102
20L1111111111L02
2201111111111022
220L11111111L022
2220000LL0000222
2222220220222222
221111L00L111122
2222222222222222
2222222222222222
2222221222222222
2222211222222222
2212212222121222
2211222222212222
2221222222222222
2222222222222222
2222222222222222`],["\xA1",bitmap`2222222222222222
2200022222200022
2202022222202022
2201000000001022
2201L111111L1022
2201000000001022
2201022222201022
2201000000001022
2201L111111L1022
2201000000001022
2201022222201022
2201000000001022
2201L111111L1022
2201000000001022
2200011111100022
2222222222222222`],["\xA2",bitmap`
................
................
................
................
................
..111L0000L111..
..111011110111..
..112012210211..
..111011110111..
..112012210211..
..111011110111..
..111L0000L111..
................
................
................
................`],["\xA3",bitmap`2222222222222220
2222222222222201
2222222121222011
2222222212220111
2222121222201111
2222212222011111
2212222220111111
2222222201111111
2122222011111111
2222220111111111
2222201111211211
2222011112212211
2220111122112111
2201111121111111
2021111111111111
0221111111111111`],["\xA4",bitmap`0221111111111111
0221111111111121
0221111111111221
0221111111111211
0221111111111111
0221112111111111
0221122111111111
0221221121111111
0221211221111111
0221111211111111
0221111111111111
0221111111121111
0221111111221111
0221111111211111
0221111111111111
0221111111111111`],["\xA5",bitmap`0221111111111111
022111111111111L
02211111211111LL
0221121221111LL0
022122121111LL02
02212111111LL022
0221111111LL0222
022111111LL02222
02211111LL022222
0221111LL0222222
022111LL02222222
02211LL022112222
0221LL0222222222
022LL02211122222
021L022211122222
0000222222222222`],["\xA6",bitmap`2222222222222222
0022222222212122
2L00222222221222
222L022222222222
2222L02222222222
2222202222222222
22222L0221212222
2222110222122222
2211110222222222
11111L0000222222
111100L22L002222
1110L222222L0222
L00L22222222L022
2002222222222012
00L2222222222L02
2011222222221102`],["\xA7",bitmap`2222222222222222
0022222222222222
2L00222212222222
222L022211221222
2222L02221211222
2222202222212222
22222L0222222222
2222110222222222
2211110222221212
11111L0222222122
1111102222222222
1111L02222222222
L000022222121222
2022222222212222
0L11112222222222
2222222222222222`],["\xA8",bitmap`2011112222111102
00L1111111111L02
2L00111111111022
222L01111111L022
2222L00LL0000222
2222200220222222
22222L000L111122
2222110222222222
2211110222222222
11111L0221212222
1111102222122222
1111L02222222222
L000022222222222
2022222222221212
0L11112222222122
2222222222222222`],["\xA9",bitmap`2222222222222222
2212122222222222
2221222222222222
2222222222121222
2222222222212222
2222222222222222
2000022222200002
2022022222202202
2022000000002202
2011L111111L1102
2011000000001102
2011000000001102
2011L111111L1102
2011000000001102
2000011111100002
2222222222222222`],["\xAA",bitmap`2222222222222222
2222222222212222
2222222222222222
2222222221222122
2212122221122222
2221222222122222
2222222222222222
2222222222222222
2222222002212122
22222201L0221222
22222011LL022222
22220111LLL02222
22201121LLLL0222
22011221LLLLL022
20111211LLLLLL02
01111111LLLLLLL0`],["\xAB",bitmap`11111111LLLLLLLL
11121111LLLLLLLL
11221111LLLLLLLL
12211111LLLLLLLL
12111211LLLLLLLL
11112211LLLLLLLL
11112111LLLLLLLL
11111111LLLL1LLL
11111111LLLL11LL
11111111LL1LL1LL
11111111LL11LLLL
11111111LLL1LLLL
11111111LLLLLLLL
11111111LLLLLLLL
11111111LLLLLLLL
11111111LLLLLLLL`],["\xAC",bitmap`11111111LLLLLLLL
11111111LLLLLLLL
11111111LLLLLLLL
11111111LLLLL1LL
11121111LLLLL11L
11221111LL1LLL11
11211111LL11LLL1
11111111LLL1LLLL
111111111LLLLLLL
1111111LL1LLLLLL
111111LLLL1LLLLL
11111LL00LL1LLLL
1111LL0220LL1LLL
111LL022220LL1LL
11LL02222220LL1L
1LL0222222220LL1`],["\xAD",bitmap`LL022222222220LL
L02222222222220L
0222222222222220
2222222222222222
2222211122222222
2112211122222222
2222222222222222
2221112211222222
2221112222222222
2222222222222222
2222222222222222
2222222221112222
2222222221112112
2222222222222222
2222222222211222
2222222222222222`],["\xAE",bitmap`2222222222222222
2222220000222222
222200L22L002222
2220L222222L0222
220L22222222L022
2202222222222022
20L2222222222L02
2011222222221102
2011112222111102
20L1111111111L02
2201111111111022
220L11111111L022
2220000LL0000222
2222220220222222
221111L00L111122
2222222222222222`],["\xAF",bitmap`2222222222222222
2200000022212122
20L2222L02221222
0L222222L0222222
0122222210222222
0111221100000022
0L111110L2222L02
20L1110L222222L0
2200LL0122222210
2201220111221110
2200220L111111L0
211L00L0L1111L02
2222222200LL0022
2121222220220222
221222211L00L112
2222222222222222`],["\xB0",bitmap`2222222222222222
2222222002222222
22222201L0222122
21222011LL022222
22220111LLL02222
22201111LLLL0222
22021111LLLL1022
22021111LLLL1022
220211122LLL1022
2202112112LL1022
22021211112L1022
2202211001122022
2200111001110022
2210L110011L0122
2210000000000122
2222222222222222`],["\xB1",bitmap`2222222222222222
222222L00L221212
2222220220222122
2222L001100L2222
222201L11L102222
2222L002200L2222
2222220220222222
2222000220002222
222002L22L200222
2220L2L11L2L0222
2220122222210222
2120111111110222
222011LLLL110222
2220L111111L0222
2220000000000222
2222222222222222`],["\xB2",bitmap`0221111111111111
0221111111111111
0221000000000011
0221012222222L11
0221022222222L11
0221022222222L11
0221022222222L11
02210LLLLLLLL111
022102LLLLLL1111
022102LLLLL11211
02210LLLLL112211
022102LLL1122111
022102LL11121111
02210LL111111211
0221111111112211
0221111111112111`],["\xB3",bitmap`0222222222222222
L022222222222222
LL02222121222222
LLL0222212221222
LLLL022222222222
LL1LL02222222222
LL11LL0222222222
LLL1LLL022222222
LLLLLLLL02221212
LLLLLLLLL0222122
LLLLL1LLLL022222
LLLLL11LLLL02222
LLL1LL11LLLL0222
LLL11LL1LLLLL022
LLLL1LLLLLLLL102
LLLLLLLLLLLLL110`],["\xB4",bitmap`LLLLLLLLLLLLL110
LLLLLLLL1LLLL110
LLLLLLLL11LLL110
LLLLL1LLL11LL110
LLLLL11LLL1LL110
LLLLLL1LLLLLL110
LLLLLLLLLLLLL110
LLLLLLLLLLLLL110
LLLLLLLLLLLLL110
LLLLLLLLLLLLL110
LLLLLLLLLLLLL110
LL1LLLLLLLLLL110
LL11LLLLL1LLL110
LLL11LLLL11LL110
LLLL1LLLLL1LL110
LLLLLLLLLLLLL110`],["\xB5",bitmap`1LLLLLLLLLLLL110
L1LLLLL1LLLLL110
LL1LLLL11LLLL110
0LL1LLLL1LLLL110
20LL1LLLLLLLL110
220LL1LLLLLLL110
2220LL1LLLLLL110
22220LL1LLLLL110
222220LL1LLLL110
2112220LL1LLL110
22222220LL1LL110
221122220LL1L110
2222222220LL1110
22222222220LL110
222222211220LL10
2222222222220000`],["\xB6",bitmap`2222200000022222
22200L2222L00222
220L22222222L022
20L2222222222L02
2022222222222202
0L222222222222L0
0112222222222110
0111122222211110
0L111111111111L0
2011111111111102
20L1111111111L02
22000L1111L00022
222220L22L022222
2222002222002222
2222010220102222
2111L0L00L0L1112`],["\xB7",bitmap`2222222222222222
2222222002222222
2122220LL0222222
2222000LL0002222
2220L111111L0222
220111L11L111022
220L00011000L022
2200200110020022
2222220LL0222222
2222220220222222
222222L011022222
2212122022022222
2222220110L22122
2222220220222222
222211L00L112222
2222222222222222`],["\xB8",bitmap`2222222222222222
2222200000022222
2122021111102222
22201211111L0222
22011211111LL022
20111211111LLL02
02111211111LLL10
02111211111LLL10
02111222222LLL10
021121111112LL10
0212111111112L10
0221001001001220
0011001001001100
10L1111001111L01
1000000000000001
2222222222222222`],["\xB9",bitmap`2222222222222222
2222220000222222
2212220220222222
2222000110002222
2222022112202222
2222011111102222
2222000110002121
2222220110222212
2222000110002222
2220L22LL22L0222
2220222222220222
222021LLLL120222
2220112222110222
2120111111110222
2220111111110222
222L00000000L222`],["\xBA",bitmap`LLLLLLLLLLLLL110
LLLLLLLLLLLLL110
LL0000000000L110
LL1LLLLLLL00L110
LL1LLLLLLLL0L110
LL1LLLLLLLL0L110
LL1LLLLLLLL0L110
LLL111111110L110
LLLL11111120L110
LLLLL1111120L110
LLLLLL111110L110
LL1LLLL11120L110
LL11LLLL1120L110
LLL1LLLLL110L110
LLLLLLLLLLLLL110
LLLLLLLLLLLLL110`],["\xBB",bitmap`0221111111111111
022111111111111L
02211111211111LL
0221121221111LL0
022122121111LL02
02212111111LL022
0221111111LL0222
022111111LL02222
02211111LL021122
0221111LL0222222
022111LL02111222
02211LL022111222
0221LL0222222222
022LL01111111111
021L011111111111
0000000000000000`],["\xBC",bitmap`LL022222222220LL
L02211222222220L
0222222222222220
2222222222222222
2222222222111222
2222222112111222
2222222222222222
2222112211122222
2222222211122222
2222222222221122
2222222222222222
2112222222222222
2222222222222222
1111111111111111
1111111111111111
0000000000000000`],["\xBD",bitmap`0122222222222210
0112222221122110
0112222222222110
01222L0000L22210
0122201111022210
0112201221022110
0112201111022110
0122201221022210
0122201111022210
01122L0000L22110
0112211111122110
0122222222222210
0122222222222210
0111111111111110
0111111111111110
L00000000000000L`],["\xBE",bitmap`2222222222222222
2222200000022222
22220L2222L02222
2220222222220222
220L22222222L022
2201122222211022
2201111221111022
220L11111111L022
2220L111111L0222
2222000LL0002222
2222220221022222
2222200220022222
2222201220222222
2222200220222222
222111L00L111222
2222222222222222`],["\xBF",bitmap`2222222222222222
22222L0000L22222
222220L11L022222
2212201111022222
22222021110L00L2
2L00L01111001102
2011001112002102
2021001111L11102
20111L2111L11L02
20L11L11110000L2
2L00001112022222
2222201111022212
2222202111022222
2122201111022222
22211L0000L11222
2222222222222222`],["\xC0",bitmap`2222222222222222
2222222002222222
2222220210222222
2222201222022222
2222022211102222
2122012222102222
2220111222220222
2202222222222022
2201222222221022
20L1112222111L02
2011111001111102
20L1110000111L02
210L11000011L012
21100L0000L00112
2221100000011222
2222222222222222`],["\xC1",bitmap`2222222222222222
2222222222222222
2222221212212222
2212222122222222
2222222222222222
2222200000022222
2222022222202222
2220222222220222
2220211111120222
222011LL1L110222
2220112212110222
222011L1LL110222
2220112122110212
2220111111110222
2220111111110222
222L00000000L222`],["\xC2",bitmap`2222222222222222
2222222222222222
22L0000000000L22
2200000000000022
2200000000011022
2200000011011022
22000LL011011022
22000LL011011022
2200011022022022
2200011022022022
2200011022022022
2200011022022022
2200011022022022
22L0000000000L22
2222222222222222
2222222222222222`],["\xC3",bitmap`1LLLLLLLLLLLL110
L1LLLLL1LLLLL110
LL1LLLL11LLLL110
0LL1LLLL1LLLL110
20LL1LLLLLLLL110
220LL1LLLLLLL110
2220LL1LLLLLL110
22220LL1LLLLL110
221120LL1LLLL110
2222220LL1LLL110
21122220LL1LL110
222222220LL1L110
2222222220LL1110
11111111110LL110
111111111110LL10
0000000000000000`],["\xC4",bitmap`LL022222222220LL
L02222222211220L
0222222222222220
2222000000002222
2220222222220222
2202211111122022
2202122222212022
2202122222212022
2102122222212022
22021111111L2022
220222222LL12022
22021111111L2022
2202122222212022
1102111111112011
1102222222222011
0000000000000000`],["\xC5",bitmap`2222222222222222
2222222222222222
2200000000000022
20L2222222222L02
202L11111111L202
202L11111111L202
202L11111111L202
202L11111111L202
2012222222222102
2021112LL2111202
202L112LL211L202
2021111111111202
20L2222222222L02
2000000000000002
2222222222222222
2222222222222222`],["\xC6",bitmap`2222222002222222
2222220110222222
2222220110222222
222220L11L022222
2222202112022222
2222202222022222
22220L1221L02222
2222011111102222
2220211111120222
2220222222220222
2201122222211022
220L11111111L022
22200L1111L00222
2222200LL0022222
2222220220222222
222111L00L111222`],["\xC7",bitmap`2L0L22222222L0L2
L0L0L222222L0L0L
0LLL02L00L20LLL0
01110L0L10L01110
010100L121001010
01010L1122101010
0111011122201110
01L1011LL2201L10
0LLL01L11L20LLL0
0111LL1111LL1110
0101L111111L1010
0101L110011L1010
0111L220022L1110
0222000000002220
0000011111100000
2222222222222222`],["\xC8",bitmap`2222222222222222
2222222002222222
2121220220222222
222220L21L022122
22220L2212L02222
2220LL2211LL0222
220LL222112LL022
20LLL222111LLL02
20LL22221112LL02
20LL22221111LL02
20L2222211112L02
20L2222001111L02
2022222001111202
2022222001111102
2L000000000000L2
2222222222222222`],["\xC9",bitmap`2222222222222222
2222222222222222
2222220000222222
2200000LL0000022
220L11111111L022
2201111111111022
22011LLLLLL11022
2201111111111022
22011LLLLLL11022
2201111111111022
220L11111111L022
2200000LL0000022
2222220110222222
2222220110222222
221111L00L111122
2222222222222222`],["\xCA",bitmap`
................
................
................
................
..........000...
.........01L0...
........0L110...
...00000LL000...
...0122LL0220...
...022LL01110...
...0222222220...
...0111111110...
...0L111111L0...
...0000000000...
................
................`],["\xCB",bitmap`
................
................
................
................
...000..........
...0L10.........
...011L0........
...000LL00000...
...0220LL2210...
...01110LL220...
...0222222220...
...0111111110...
...0L111111L0...
...0000000000...
................
................`],["\xCC",bitmap`2222222222222222
2222222222222222
2222222222222222
2222222222222222
2222222220L22222
22L0L22201022222
2L010000100000L2
2021212121212202
2011121212122102
2011111111112202
2L0L0000000000L2
22L0L11111111112
2222222222222222
2222222222222222
2222222222222222
2222222222222222`],["\xCD",bitmap`2222222222222222
2222222222222222
2222222222222222
22222L0000L22222
2222L011110L2222
222201LLLL102222
222201LLLL102222
2222001111002222
222L01LLLL10L222
2220111112210222
2220111112210222
2220111111110222
2222011111102222
2222211111122222
2222222222222222
2222222222222222`],["\xD0",bitmap`
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000`],["\xD1",bitmap`.......00.......
.....0000000....
....0033333000..
....0333333330..
....03333000000.
....033307777770
....033307777770
....033307777700
...003333000000.
...033333333330.
...033333333330.
...033330333330.
..0033330333300.
..033330033330..
..000330.00330..
....0000..0000..`],["\xD2",`
....C.CCCC.C....
....CCCCCCCC....
....CCCCCCCCC...
...CC0CC0CCCC...
...CCCCCCCCCCC..
...CCC00CCCCCCC.
...C0C0CC0CCCCC.
...CC0000CCCCCC.
...CCCCCCCCCCCC.
...CCCCCCCCCCCC.
...CCCCCCCCCCCC.
...CCCCCCCCCCCC.
....CCCCCCCCCCC.
....CC..CC...CC.
....CC..CC...CC.
....C...C....C..
`]],b=new C(a2),E,I,r,m,f,s2="QUEST: Find Kara!",M=!1,s=!1,S2=async()=>{O("outside",[2,8]),await p(` It's your first    
 day working at     
 Hack Club HQ,      
                    
 and you can't      
 wait to start.     
                    
 ...                
                    
 First, find Kara!  
`)};(async()=>(O("outside",[2,8]),D(o),setInterval(m1,100),await S2(),onInput("w",()=>!s&&v(0,-1)),onInput("s",()=>!s&&v(0,1)),onInput("a",()=>!s&&v(-1,0)),onInput("d",()=>!s&&v(1,0))))();async function a1(L){s=!0,M=0,v(L[0]-m[0],L[1]-m[1]),o(),await new Promise(t=>setTimeout(t,1600)),clearInterval(E),r[2].write(...z,i.switchOff),o(),await new Promise(t=>setTimeout(t,2e3)),r[2].write(...z,i.switch),o(),await new Promise(t=>setTimeout(t,1600)),O("outside",k(t2)),M=0,await p(` Great work! Bank's 
 looking ...        
 good to bueno!     
 ...                
   ... mostly ...   
`),await p(` By the way, do you 
 know what Zach's   
 up to? I saw him   
 behind the country 
 store with a cargo 
 truck full of HC   
 merch and an       
 industrial drum of 
 coffee!            
`),n1(),s=!1}function n1(){d(D2).active=1,d(u2).active=0}async function D2(L){let t=[...m];s=1,v(L[0]-t[0],L[1]-t[1]),o(),await new Promise(n=>setTimeout(n,500)),v(L[0]-t[0],L[1]-t[1]),o(),await new Promise(n=>setTimeout(n,1e3)),r[1].write(...L,i.max),o(),await new Promise(n=>setTimeout(n,1e3)),await p(` There you are! I   
 need your help!    
                    
 I've found the best
 way to make HC more
 popular.           
                    
 Coding is too hard.
 People don't like  
 it. But coffee?    
                    
 Everyone loves it! 
`),await p(` So I'm changing my 
 name to Zach Latte!
                    
 We'll be known     
 everywhere!        
                    
 You can help me    
 break the news ... 
                    
 You don't seem so  
 enthusiastic.      
`),await p(` It's great to meet 
 you, finally, Zach!
                    
 But, fundamentally 
 changing what HC is
 to make it more    
 popular doesn't do 
 the world any good!
                    
 By trying to be    
 everything to      
 everyone, you      
 become nothing     
 to no one.         
`),await p(` ...                
                    
 Haha, just kidding.
                    
 This fever dream   
 has been too brain 
 dead to pull off   
 messaging like that
                    
 ...                
                    
 So what really     
 happened on your   
 first day?         
`),o(),await new Promise(n=>setTimeout(n,1e3)),b=new C(map`
...
...
...`),f[0]++,f[1]++,o(),await new Promise(n=>setTimeout(n,700)),b=new C(map`
.`),f[0]++,f[1]++,o(),await new Promise(n=>setTimeout(n,700)),b=new C(a2),B2(),M2(),d(l2).active=0,d(W2).active=1;let[e]=[...l.hq[1].positionsOf(i.kara)];l.hq[1].write(...e,i.max),await S2(),s=0}var E2=10;async function N(){let L=[0,~~(l.bank[0].height/2)];O("bank",L),console.log("HMMM, here"),M=1,E!=null&&clearInterval(E),E=setInterval(async()=>{r!=l.bank&&(clearInterval(E),E=void 0);let t=[...r[2].positionsOf(i.trigger)];for(let e of r[2].positionsOf(i.trigger))r[2].write(...e,".");for(let e=0;e<E2;e++){let n=h=>1-2*Math.abs(.5-h%1),x=Date.now()+e*900,$=n(x/3e3)%1*5,R=1+~~(x/3e3/9*3%1*9),Z=1+~~$;if(r[2].write(R,Z,i.trigger),r[1].read(R,Z)==i.player){clearInterval(E),s=!0,M=0;for(let w of t)r[2].write(...w,i.trigger);o(),await new Promise(w=>setTimeout(w,1e3));let y=(await I2(H2)).you.hp>0;if(s=!1,y)N(),v(0,0),E2*=.8;else{d(F2).active=1,d(z2).active=0,d(l2).active=0,d(c2).active=0,M=0,O("hq",k(S)),m2(),d(N).active=1;return}break}}o()})}async function r2(L){v(L[0]-m[0],L[1]-m[1]),await p(` ...                
                    
                    
 ...                
                    
                    
 ...                
                    
                    
`),d(r2).active=1}async function i1(){l.outside[1].write(...V,i.max),l.outside[2].write(...q2,i.kara),o(),d(r2).active=1,d(G2).active=1}async function c2(){await p(` You want me to heal
 the innocent beings
 you've been irres- 
 -ponsibly torturing
 in a lawless cock- 
 fighting ring?     
                    
 ...                
                    
 Sure thing.        
`),playerHp=100,m2()}async function m2(){let L=setInterval(()=>{I!="hq"&&(clearInterval(L),d(c2).active=1)},100)}async function F2(){s=1,await p(` All of your 'monz  
 were defeated.     
                    
 ...                
                    
 You make it back to
 HQ in a foggy haze 
 and collapse.      
                    
 Hours later, you're
 awoken by Kara.    
`),await p(` By some miracle,   
 your spriggymonz   
 are breathing again
                    
 ...                
                    
 So you're equipped 
 to return to what- 
 -ever irresponsibly
 dangerous escapade 
 I'm sure you embar-
 -assingly failed.  
`),_(100),s=0}async function G2(){let L=I,t=[...m];await p(` Hullo.             
 You must be the    
 new member of HQ!  
                    
 Well,              
 you're in for some 
 first day, alright!
                    
 It's the Tomb of a 
 Thousand Triggers  
 in there!          
`);let e=async(c=0)=>{M=!0,await N(),s=1,D(()=>{}),await new Promise(u=>setTimeout(()=>D(u),c)),clearInterval(E)};await e(),await p(` Sorry, context:    
 Trigger is         
 something of an    
 unofficial mascot, 
                    
 But I don't know   
 what's gotten into 
 him today!         
                    
 He's gone crazy!   
`),await p(` And cherry on top: 
 Bank's gone down!  
                    
 I can't get to the 
 lever to redeploy  
 the codebase,      
                    
 for fear of getting
 my face bitten off!
`);let n=!0;(async()=>{setTimeout(()=>clearInterval(E),150);for(let c=0;c<10;c++)if(l.bank[2].write(...z,"."),o(),await new Promise(u=>setTimeout(u,200)),l.bank[2].write(...z,i.switch),!n||(o(),await new Promise(u=>setTimeout(u,800)),!n))return})(),await e(600),n=!1,await p(` You look like you  
 might be           
 expendable, wanna  
 give it a shot?    
                    
 ...                
                    
 Do it, I dare you! 
`),M=0,O(L,t),d(p2).active=0,d(N).active=1,s=!1,r&&o()}async function p(L){let t=s;s=!0,b=new C(a2),b.set();let e=0,n=()=>{clearText(),addText("any key to continue",{x:1,y:14,color:"1"}),addText(L.slice(0,e),{x:0,y:2})};for(D(()=>{e=L.indexOf(`
`,e+1),n()});e<L.length;e++)n(),[`
`," "].includes(L[e])||await new Promise(c=>setTimeout(c,80));await new Promise(c=>D(c)),clearText(),s=t,o(),D(o)}async function T(L,t,e={}){let n=Object.assign({axis:0,speed:600,pauseAfter:800},e),c=r[1],[u]=[...c.positionsOf(L)],x=Math.sign(t[n.axis]-u[n.axis]);for(let $=u[n.axis];$!=t[n.axis];$+=x)c.write(...u,"."),u[n.axis]=$,c.write(...u,L),o(),await new Promise(A=>setTimeout(A,n.speed));await new Promise($=>setTimeout($,n.pauseAfter))}async function u2(){s=!0,await p(` It's locked!       
                    
 Besides, you       
 don't want to be   
 late on your first 
 day!               
`),v(0,1),s=!1,r&&o(),d(u2).active=1}async function p2(){s=!0,await p(` It's locked!       
                    
 Besides, you       
 don't want to be   
 late on your first 
 day!               
`),v(0,1),s=!1,r&&o(),d(p2).active=1}async function W2(){s=!0;let[L]=[...l.hq[1].positionsOf(i.max)];await T(i.player,L),[m]=[...r[1].positionsOf(i.player)],await p(` There you are!     
 Where have you     
 been!?             
 We've been waiting!
`),s=1,o(),await new Promise(t=>setTimeout(t,1e3)),b=new C(map`
...
...
...`),f[0]++,o(),await new Promise(t=>setTimeout(t,700)),b=new C(map`
.`),f[0]++,f[1]++,o(),s=1,await new Promise(t=>setTimeout(t,700)),b=new C(map`
.`),b.set(),s2="THE END",await new Promise}async function l2(){s=!0,await T(i.kara,m),await p(` There you are! I   
 hope you don't plan
 on making a habit  
 of being late!     
                    
 Zach's waiting for 
 you in a call room 
 upstairs. Hurry up!
                    
 Get upstairs!      
`),s=!1,r&&o()}async function z2(){s=!0,await T(i.kara,m),await p(` One last thing,    
 part of your duties
 here at HQ will be 
 safekeeping this   
 repulsive-looking  
 dinosaur, Orpheus. 
                    
 Treat her well! I  
 don't want to see  
 her taught to      
 fight with strays! 
`),s=!1,r&&o()}async function o1(){s=!0,await new Promise(L=>setTimeout(L,400)),await p(` Hey look, that's   
 Zach's desk! You've
 seen pictures of it
 in the Slack.      
                    
 It's still warm,   
 and smells vaguely 
 of coffee.         
`),s=!1,r&&o()}async function s1(){s=!0,await T(i.ghost,J(m),{axis:1,pauseAfter:0}),await T(i.ghost,J(m),{axis:0}),await p(` Oh look, it's that 
 dog Kara keeps     
 around, Wasabi!    
                    
 <growls menacingly>
                    
 Uh ...             
 I think I might've 
 left some food in  
 my pocket ...      
`),await x2(),O(I,m),clearText();let L=k(i2);await T(i.ghost,L,{pauseAfter:0,speed:200}),await Promise.all([T(i.chest,[L[0]+2,L[1]],{speed:200}),T(i.ghost,[L[0]+1,L[1]],{speed:200})]),await T(i.ghost,[L[0],L[1]+2],{speed:500,axis:1}),await T(i.ghost,[m[0]-1,m[1]],{speed:500,axis:0}),await T(i.player,[m[0]+2,m[1]],{speed:100,axis:0}),[m]=[...r[1].positionsOf(i.player)],await T(i.ghost,n2,{speed:200,axis:1});let[t]=[...r[1].positionsOf(i.ghost)];r[1].write(...t,"."),o(),await new Promise(e=>setTimeout(e,1500)),r[1].write(...t,i.kara),o(),await new Promise(e=>setTimeout(e,1e3)),await p(` What's all the     
 ruckus going on up 
 here?              
                    
   Oh, no! Poor     
  Orpheus! Let me   
   patch her up!    
                    
 If she ever gets   
 like this again,   
 just come to me,   
        ok?         
`),_(100),r[1].write(...t,"."),o(),await new Promise(e=>setTimeout(e,500)),d(N2).active=1,s=!1,r&&o()}async function r1(){s=!0,await p(` That chest Wasabi  
 knocked out of the 
 way must've been   
 there for quite a  
 while!             
                    
 The door is caked  
 in a layer of dust 
 and cobwebs, but   
 unlocked!          
`),L1(m).active=1,v(0,1),s=!1,r&&o()}async function N2(){s=!0,await new Promise(L=>setTimeout(L,400)),await p(` There you are!     
                    
 I just realized,   
 Zach wasn't up     
 there with you,    
 and I never saw    
 him leave ...      
                    
 I mean seriously,  
 Did he vent or     
 something!?!       
`),await new Promise(L=>setTimeout(L,800)),l.hq[1].write(...B,i.vent),o(),d(Z2).active=1,await new Promise(L=>setTimeout(L,800)),await p(` Is it just me or   
 ...                
 that vent wasn't   
 there before,      
 right?             
                    
 that's   ...       
                    
 a tad, erm, sus.   
`),s=!1,r&&o()}async function Z2(){s=!0,await new Promise(t=>setTimeout(t,1e3)),l.hq[2].write(...B,i.amogus),o(),await new Promise(t=>setTimeout(t,2500)),await p(`  did somebody call 
       for an       
 EMERGENCY MEETING? 
`);let L=await P2();O(I,m),clearText(),L.them.hp<=0?(H2=!0,await p(`  orpheus absorbed  
  amogus's healing  
  ability!          
`)):await p(`  orpheus DID NOT  
          absorb    
  amogus's healing  
  ability!          
  (get gud noob)    
`),await new Promise(t=>setTimeout(t,500)),l.hq[2].write(...B,"."),o(),await new Promise(t=>setTimeout(t,200)),l.hq[2].write(...B,i.amogus),o(),await new Promise(t=>setTimeout(t,100)),l.hq[2].write(...B,"."),o(),await new Promise(t=>setTimeout(t,500)),await T(i.kara,k(m),{speed:500,axis:1}),await p(` Wh. What the shit? 
                    
 Like, who even is  
 the imposter at    
 this point?        
                    
 Zach vented ...    
                    
 but I just saw you 
 kill a crewmate... 
`),await p(` I mean... whatever.
                    
 Zach's Calendar    
 puts him in a cold 
 inhospitable cave, 
 the Bank office.   
                    
 Find him so you can
 start your 1st day!
`),s2="QUEST: Find Bank!",i1(),m2(),s=!1,r&&o()}async function c1(){s=!0,await new Promise(L=>setTimeout(L,400)),await p(` Listen here, kid!  
                    
 I been livin' in   
 this here closet   
 afore you was even 
 borned, ya hear me?
                    
 I think it's high  
 time I gave a      
 whippersnapper an  
 ass whoopin!       
`),await $2(),O(I,m),clearText(),await new Promise(L=>setTimeout(L,500)),l.closet[1].write(2,2,"."),o(),await new Promise(L=>setTimeout(L,200)),l.closet[1].write(2,2,i.oldMan),o(),await new Promise(L=>setTimeout(L,100)),l.closet[1].write(2,2,"."),o(),await new Promise(L=>setTimeout(L,500)),s=!1,r&&o()}function O(L,t){m&&r[1].write(...m,"."),r=l[L],I=L,m=t,r[1].write(...m,i.player),f=[0,0],setLegend(...e1.sort(([e],[n])=>{let c=u=>u in Q?typeof Q[u]=="number"?Q[u]:Q[u][I]:r.findIndex(x=>x.arr.includes(u));return c(n)-c(e)})),o(),v(0,0)}function v(...L){let t=(h,y)=>{for(let w=0;w<2;w++)if(y.min[w]<h.min[w]||y.max[w]>h.max[w])return!1;return!0},e={min:[0,0],max:[r[0].width,r[0].height]},n=(h,y,w)=>{let Y=[h[0]+y[0],h[1]+y[1]],Y2={min:Y,max:[Y[0]+w[0],Y[1]+w[1]]};return t(e,Y2)?Y:h},c=h=>{let y=n(m,h,[1,1]);return r[1].read(...y)!="."?m:y},u=[...m];r[1].write(...m,"."),m=c(L),r[1].write(...m,i.player);let x=R2.find(h=>h.active?h.pos[I]+""==""+m:!1);if(x){let[h]=Object.keys(x.pos).filter(w=>w!=I),y=[...x.pos[h]];y[1]++,O(h,y);return}let $=[b.width,b.height],A=[m[0]-~~(b.width/2),m[1]-~~(b.height/2)],R=(h,y)=>{let w=[...f];if(f=n(f,[h,y],$),w+""!=""+f)return!0};for(;f[0]<A[0]&&R(1,0)||f[0]>A[0]&&R(-1,0)||f[1]<A[1]&&R(0,1)||f[1]>A[1]&&R(0,-1););let Z=[$[0]+f[0],$[1]+f[1]];t(e,{min:f,max:Z})||(f=[0,0]);for(let h of o2[I]||[]){let{pos:y,fn:w}=h;h.active&&y+""==""+m&&(h.active=0,w(u))}}function o(){if(a.gameRunning)return;if(M){r.forEach((t,e)=>e?t.push():t.set());return}let L=0;for(let t of r){for(let e=0;e<b.width;e++)for(let n=0;n<b.height;n++){let c=t.read(f[0]+e,f[1]+n);b.write(e,n,c)}L++?b.push():b.set()}}function m1(){if(s)return;let L={y:15,color:color`L`},t=s2;function e(n,c=0){let u=c%n.length;return n.slice(u)+n.slice(0,u)}r[1].read(m[0],m[1]-1)==i.sign&&(t=e("SIGN: HQ's the rightmost house!    ",~~(Date.now()/280)).substr(0,160/8),L.color=color`H`),clearText(),addText(t,L)}})();
